//
//  CustomModal.m
//  Xib封装Cell
//
//  Created by bosma on 14-3-28.
//  Copyright (c) 2014年 cn.com.bosma. All rights reserved.
//

#import "CustomModal.h"

@implementation CustomModal


- (id)initWithDict:(NSDictionary *)dict{
    if (self = [super init]) {
        self.userName = dict[@"userName"];
        self.numberWalk = dict[@"numberWalk"];
        self.rank = dict[@"rank"];
        self.userImageView = dict[@"userImageView"];
    }
    return self;
}

+ (id)customWithDict:(NSDictionary *)dict{
    return [[self alloc]initWithDict:dict];
}

@end
